#ifndef WIDGETVARIANTVEC2_H
#define WIDGETVARIANTVEC2_H

#include <DefineLibUiQt.h>
#include <QtWidgets/QWidget>
#include <WidgetVariant.h>

namespace Ui {
class WidgetVariantVec2;
}

class LIB_UI_QT_DLL WidgetVariantVec2 : public WidgetVariant
{
    Q_OBJECT

public:
    explicit WidgetVariantVec2(QWidget *parent = 0);
    virtual ~WidgetVariantVec2();

    virtual void refreshByProperty(EItemMetaPropertyPtr p);

public slots:
    void slotDoubleSpinChanged(double value);
private:
    Ui::WidgetVariantVec2 *ui;
};

#endif // WIDGETVARIANTVEC2_H
